package com.tiancheng.trade.merchant.model;

import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @Author: kellen
 * @Description: 平台业务
 * @Date: create in 2024/11/19 14:24
 */
@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@TableName(value = "org_business")
public class OrgBusiness extends BaseModel {
    /**
     * 机构id
     */
    @NotBlank(message = "机构不允许为空")
    private String organizationCode;
    /**
     * 业务编码
     */
    @NotBlank(message = "业务不允许为空")
    private String businessCode;
    /**
     * 终端号
     */
    private String termNo;
    /**
     * 机构支付通道id
     */
    @NotNull(message = "支付通道不允许为空")
    private Long orgPaymentChannelId;
    /**
     * 订单号前缀
     */
    private String idPre;
    /**
     * 授权应用id
     */
    @NotNull(message = "授权应用id不允许为空")
    private String clientId;
    /**
     * 支付渠道编码
     */
    @NotNull(message = "支付渠道编码不允许为空")
    private String paymentChannelCode;

}
